const state = {
  solution: {}
};

const mutations = {
  SET_SOLUTION: (state, solution) => {
    state.solution = solution;
  }
};

const actions = {
  setSolution({ commit }, payload) {
    commit('SET_SOLUTION', payload.solution);
  }
};

export default {
  namespaced: true,
  state,
  mutations,
  actions
}